<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>服务商小区权限列表</title>
		<link rel="stylesheet" type="text/css" href="../css/public.css" />
		<link rel="stylesheet" href="../bootstrap/dist/css/bootstrap.min.css">
		<link rel="stylesheet" href="../css/font-awesome.min.css">
		<link rel="stylesheet" href="../css/ionicons.min.css">
		<link rel="stylesheet" href="../css/AdminLTE.min.css">
		<link rel="stylesheet" href="../dist/css/skins/_all-skins.min.css">
		<link rel="stylesheet" type="text/css" href="../css/bootstrap-datetimepicker.min.css" />
		<link rel="stylesheet" type="text/css" href="../css/public_main.css" />
		<link rel="stylesheet" type="text/css" href="../css/fileinput.min.css" />
		<style type="text/css">
			body #select_zhanwei {
				display: inline-block;
				/*margin-top: 5px;*/
				width: 120px;
				height: 34px;
			}
			
			#search_chaxun {
				/*margin-top: 10px;*/
				margin-left: 30px;
			}
			
			body #tbbb .btn {
				padding: 0;
				cursor: default;
			}
			
			body #select_type {
				display: inline-block;
				/*margin-top: 5px;*/
				width: 137px;
				height: 34px;
				margin-left: 10px;
			}
			
			body #select_type1 {
				display: inline-block;
				/*margin-top: 5px;*/
				width: 80px;
				height: 34px;
				margin-left: 10px;
			}
			
			body #select_type2 {
				display: inline-block;
				/*margin-top: 5px;*/
				width: 80px;
				height: 34px;
				margin-left: 10px;
			}
			
			body #select_type3 {
				display: inline-block;
				/*margin-top: 5px;*/
				width: 60px;
				height: 34px;
				margin-left: 10px;
			}
			
			body #select_wuye,
			#select_xiaoqu {
				display: inline-block;
				/*margin-top: 5px;*/
				width: 130px;
				height: 34px;
				margin-left: 10px;
			}
			
			#search_chaxun {
				/*margin-top: 10px;*/
				margin-left: 10px;
			}
			
			#text_sousuo {
				margin-left: 20px;
			}
			
			.id_dingdan {
				position: absolute;
				top: 0;
				left: 650px;
			}
			
			.id_dingdan input {
				width: 200px;
				height: 34px;
				margin-left: 20px;
			}
			
			.foot_zong th,
			td {
				text-align: left;
			}
			
			.ispayment_show {
				display: none;
			}
		</style>

	</head>

	<body>
		<div class="box" id="app">
			<div class="box-header with-border">
				<h3 class="box-title">按照支付类型统计物业费用</h3>
			</div>
			<div id="mohu" class="clear">
				<div id="star_time" class="form-group">
					<label for="dtp_input2" class=" control-label">开始时间</label>
					<div class="input-group date form_date " data-date="" data-date-format="yyyy-mm-dd" data-link-field="dtp_input2" data-link-format="yyyy-mm-dd">
						<input id="datepicker" placeholder="请选择开始时间" onchange="gaibian()" class="form-control input_1" size="16" type="text" value="" readonly>
						<span class="input-group-addon"><span class="glyphicon glyphicon-remove"></span></span>
						<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
						<input type="hidden" id="dtp_input2" value="" />
					</div>
				</div>
				<div id="end_time" class="form-group">
					<label for="dtp_input2" class="control-label">结束时间</label>
					<div class="input-group date form_date2 " data-date="" data-date-format="yyyy-mm-dd" data-link-field="dtp_input2" data-link-format="yyyy-mm-dd">
						<input class="form-control input_2" placeholder="请选择结束时间" size="16" type="text" value="" readonly>
						<span class="input-group-addon"><span class="glyphicon glyphicon-remove"></span></span>
						<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
						<input type="hidden" id="dtp_input2" value="" />
					</div>
				</div>
				<label for="name">物业</label>
				<!--<s>选择状态</s>-->
				<select id="select_wuye" style="display: inline-block;" class="form-control">
				</select>
				<label style="margin-left: 10px;" for="name">小区</label>
				<!--<s>选择状态</s>-->
				<select id="select_xiaoqu" style="display: inline-block;" class="form-control">
					<option value="">先选择物业</option>
				</select>
				<label style="margin-left:10px;" for="name">支付方式</label>
				<!--<s>选择状态</s>-->
				<select id="select_type2" style="display: inline-block;" class="form-control">
					<option value="">全部</option>
					<option value="1">微信</option>
					<option value="2">支付宝</option>
					<option value="3">银联支付</option>
					<option value="4">翼支付</option>
					<option value="5">现金</option>
				</select>
				<button id="search_chaxun" type="button" class="btn btn-success">搜索</button>
				<button type="button" data-toggle="modal" data-target="#accountChecking" class="btn btn-success">对账</button>
			</div>
			<div class="box-body" id="print">
				<table class="table table-bordered">
					<tr>
						<th>序号</th>
						<th>物业名称 </th>
						<th>小区名称</th>
						<th>费用类别</th>
						<th>交易笔数</th>
						<th>金额合计</th>
					</tr>
					<tbody id="tbbb">
						<tr>

						</tr>

					</tbody>

				</table>
			</div>
			<div class="foot_zong" style="margin-left: 10px;">
				<table class="table table-bordered">
					<tbody>
						<tr class="te_zong">
							<!--<th class="warning">总计：</th>-->
							<!--<th>总计：</th>-->
							<th style="width:110px !important;">交易总笔数：</th>
							<th style="width: 110px !important;" id="bi_zong"></th>
							<th style="width: 110px !important;">金额总计：</th>
							<th id="bi_money"></th>
						</tr>
					</tbody>
				</table>
			</div>
			<!-- /.box-body -->
			<div class="box-footer clearfix">

				<div>
					<s style="margin-top: 5px;">共有：</s> <span id="count"></span><s>条,每页显示10条</s>
				</div>
				<ul id='bp-3-element-test'>
				</ul>
			</div>
			<!-- 模态框（Modal）提示信息 -->
			<div style="z-index: 1052;" class="modal fade" id="myModal_tips" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
				<div class="modal-dialog">
					<div class="modal-content">
						<div class="modal-header">
							<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
							<h4 class="modal-title" id="myModalLabel">提示信息</h4>
						</div>
						<div class="modal-body" id="tips" v-text="tips_modal">

						</div>
						<div class="modal-footer">
							<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
						</div>
					</div>
				</div>
			</div>
			<!-- 模态框（Modal） -->
			<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
				<div class="modal-dialog">
					<div class="modal-content">
						<div class="modal-header">
							<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
							<h4 class="modal-title" id="myModalLabel"></h4>
						</div>
						<div id="shenhe" class="modal-body">
							<ul id="myTab" class="nav nav-tabs">
								<li class="active">
									<a href="#home" data-toggle="tab">
										基础信息
									</a>
								</li>
							</ul>
							<ul id="ppp">
								<div id="myTabContent" class="tab-content">
									<div class=" tab-pane fade in active" id="home">
										<li>
											<span>第三方支付id:</span><s id="s_id"></s>
										</li>
										<li>
											<span>业主名字:</span><s id="s_yezhu"></s>
										</li>

										<li>
											<span>沃豆抵扣额:</span><s id="s_wodou"></s>
										</li>
										<li>
											<span>物业名字:</span><s id="s_wuye"></s>
										</li>
										<li>
											<span>会员名:</span><s id="s_huiyuan"></s>
										</li>
									</div>

								</div>
							</ul>
						</div>
						<div class="modal-footer">
							<div class="modal-footer">
								<button type="button" class="btn btn-default fanhui" data-dismiss="modal">返回</button>
							</div>
						</div>

					</div>
				</div>
			</div>
			<!-- 模态框（Modal） -->
			<div class="modal fade" id="accountChecking" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
				<div class="modal-dialog">
					<div class="modal-content">
						<div class="modal-header">
							<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
							<h4 class="modal-title" id="myModalLabel"></h4>
						</div>
						<div id="shenhe" class="modal-body">
							<ul id="ppp">
								<li>
									<span>是否代收代付:</span>
									<select id="ispayment">
										<option value="0">请选择是否代收代付</option>
										<option value="1">是</option>
										<option value="2">否</option>
									</select>
								</li>
								<li class="ispayment_show">
									<span>物业:</span>
									<select id="select_wuye1" style="display: inline-block;" class="form-control">
									</select>
								</li>
								<li class="ispayment_show">
									<span>小区:</span>
									<select id="select_xiaoqu1" style="display: inline-block;" class="form-control">
										<option value="">先选择物业</option>
									</select>
								</li>
								<li>
									<span>开始时间：</span>
									<input class="form_datetime form-control" type="text" id="datetimepicker1" placeholder="请选择开始时间">
								</li>
								<li>
									<span>结束时间：</span>
									<input class="form_datetime form-control" type="text" id="datetimepicker2" placeholder="请选择开始时间">
								</li>
								<!--<li>-->
								<h4>对账文件</h4>
								<!--<form style="" id="Form1" method="post" enctype="multipart/form-data" onsubmit="return saveReport();" target="hidden_frame">
										<input id="uploadfile" name="pic" type="file" class="file">
									</form>-->
								<!--								</li>-->
								<form style="" id="Form1" method="post" enctype="multipart/form-data" onsubmit="return saveReport();" target="hidden_frame">
									<input id="uploadfile" name="files" type="file" class="file">
								</form>
							</ul>
						</div>
						<div class="modal-footer">
							<div class="modal-footer">
								<button type="button" class="btn btn-default fanhui" data-dismiss="modal">返回</button>
								<button type="button" id="sure_payment" class="btn btn-default sure_payment">确定</button>

							</div>
						</div>

					</div>
				</div>
			</div>

		</div>

	</body>

</html>
<script src="../js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
<script src="../bootstrap/dist/js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/jquery.slimscroll.min.js"></script>
<script src="../js/fastclick.js"></script>
<script src="../dist/js/adminlte.min.js"></script>
<script src="../dist/js/demo.js"></script>
<script src="../js/qunit-1.11.0.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/bootstrap-paginator.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/bootstrap-datetimepicker.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/bootstrap-datetimepicker.zh-CN.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/wuye_js/Payment_type.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/vue.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/public.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/data.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/fileinput.min.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/zh.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
	$("#uploadfile").fileinput({
		language: 'zh', //设置语言
		uploadUrl: urltest + 'woke/public/addFile', //上传的地址 "http://smart.wkdzkj.cn/woke-oss-web/woke/public/addServiceProviderQualifications", //上传的地址
		allowedFileExtensions: ['csv'], //接收的文件后缀
		//uploadExtraData:{"id": 1, "fileName":'123.mp3'},
		uploadAsync: true, //默认异步上传
		showUpload: true, //是否显示上传按钮
		showRemove: true, //显示移除按钮
		showPreview: true, //是否显示预览
		showCaption: false, //是否显示标题
		browseClass: "btn btn-primary", //按钮样式    
		dropZoneEnabled: true, //是否显示拖拽区域
		//minImageWidth: 50, //图片的最小宽度
		//minImageHeight: 50,//图片的最小高度
		//maxImageWidth: 1000,//图片的最大宽度
		//maxImageHeight: 1000,//图片的最大高度
		maxFileSize: 0, //单位为kb，如果为0表示不限制文件大小
		//minFileCount: 0,
		maxFileCount: 1, //表示允许同时上传的最大文件个数
		enctype: 'multipart/form-data',
		validateInitialCount: true,
		previewFileIcon: "<iclass='glyphicon glyphicon-king'></i>",
		msgFilesTooMany: "选择上传的文件数量({n}) 超过允许的最大数值{m}！",
	}).on("fileuploaded", function(event, data, previewId, index) {
		var url1 = data.response.returnString;
		var bb = JSON.parse(url1);
		urlo = bb[0].url;
		console.log(urlo);
	});
</script>